<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>add过滤器</title>
</head>
<body>
    <p>数字、字符串数值相加</p>
    <p>{{ num|add:2 }}</p>
    <p>list 拼接</p>
    <p>{{ value1|add:value2 }}</p>
</body>
</html>